package com.gipson.amc.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gipson.amc.entity.RoleAuthority;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 角色权限 Mapper 接口
 * </p>
 *
 * @author wcm
 * @since 2020-04-30
 */
public interface RoleAuthorityMapper extends BaseMapper<RoleAuthority> {

    void deleteByRoleId(@Param("roleId")String roleId);

    void deleteByRoleIds(Map<String, Object> map);

}
